using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 保存场景数据，把玩家数据保存到临时数据当中
/// </summary>
public class SceneDataManager : MonoBehaviour
{
    [SerializeField] private Vector3 position;
    [SerializeField] private int sceneIndex;
    
    //
    [SerializeField] private PlayerData playerData;
    
    //
    private void Start()
    {
        //
        playerData.playerPosition = position;
        playerData.sceneIndex = sceneIndex;
    }
}
